package cn.wolfcode.luowowo.flight.service;

import cn.wolfcode.luowowo.common.util.AjaxResult;
import cn.wolfcode.luowowo.flight.domain.Flight;
import cn.wolfcode.luowowo.flight.domain.FlightTicket;
import cn.wolfcode.luowowo.flight.query.FlightQueryObject;

import java.util.List;


public interface IFlightService {
    //查询国内前10热门城市
    List<Flight> selectByHotTop10(FlightQueryObject qo);
    //根据字母查城市
    List<Flight> selectByInitialABCDE();

    List<Flight> selectByInitialFGHJ();

    List<Flight> selectByInitialKLMNP();

    List<Flight> selectByInitialQRSTW();

    List<Flight> selectByInitialXYZ();

    AjaxResult selectByPortAndTime(FlightQueryObject qo);

    Flight queryById(Long tid);
}
